package com.summer.data.jql.concept.func;

import com.summer.data.Jsql;
import com.summer.data.dialect.Dialect;
import com.summer.data.jql.Context;
import com.summer.data.jql.behavior.FilterAble;
import com.summer.data.jql.concept.Field;

/**
 * @author 345480567@qq.com
 */
public class CaseWhen<T> implements Field<T> {

    public CaseWhen cashWhen(FilterAble filter, T t) {
        return this;
    }

    public CaseWhen cashWhen(FilterAble filter, CaseWhen<T> t) {
        return this;
    }

    public CaseWhen other(T t) {
        return this;
    }

    public CaseWhen other(CaseWhen<T> t) {
        return this;
    }

    // todo:
    @Override
    public Jsql toFieldSql(Context ctx, Dialect dialect) {
        // todo:
        return null;
    }

}
